﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WeekDataReport.aspx.cs" Inherits="Thksoft.Module.StatisticalReport.WeekDataReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>周资金明细</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <%--<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" />--%>
    <link rel="stylesheet" href="/UserCotrols/jqTable/css/jqTable.css" />
    <style>
        .Panl {
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .Body {
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .Title {
            width: 100%;
        }
    </style>
</head>
<body>
    <div>
        <!--周资金详情-->
        <div id="Pan1" class="Panl">
            <div class="Title">
                <div style="margin: 0 auto; font-size: 20px; text-align: center; padding-top: 10px; padding-bottom: 10px; letter-spacing: 5px; font-weight: bold;">周资金详情</div>
            </div>
            <div class="Body">
                <div style="padding-left: 10px; padding-right: 10px;">
                    <asp:GridView runat="server" ID="WEEK_TABLE" AutoGenerateColumns="False" CssClass="cont_list Body">
                        <Columns>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    交易流水号
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <%#(string.IsNullOrEmpty(Convert.ToString(Eval("ACCOUNT_FLOW")))?"-":Convert.ToString(Eval("ACCOUNT_FLOW")))%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    交易类型
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <%#(Convert.ToBoolean(Eval("FLAG")) ? "转出" : "转入")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="BANK_NAME" HeaderText="银行" />
                            <asp:BoundField DataField="ACCOUNT_NAME" HeaderText="对方账户名称" />
                            <asp:BoundField DataField="ACCOUNT" HeaderText="对方账号" />
                            <asp:BoundField DataField="MONEY" HeaderText="发生额" />
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    银行流水时间
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <%#(Convert.ToDateTime(Eval("SCOP_DATE")).ToString("yyyy-MM-dd HH:mm:ss"))%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="REMARK" HeaderText="备注" />
                        </Columns>
                    </asp:GridView>
                    <button type="button" class="bt_css_s">打印</button>
                    <button type="button" class="bt_css_s">导出</button>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <!-- 总引入  -->
    <script type="text/javascript" src="/UserCotrols/jqTable/js/zipJs/jqTable.all.min.js"></script>
    <script type="text/javascript">
        $(function () {
            //加载数据
            var parms = GetRequest(true);
            //获取Key值
            var key = parms.QueryString("ID");
            if (key == "") {
                return;
            }
            var option = {};
            option.Type = "Week";
            option.Data = { ID: key, Type: 1 };
            /*
            $("/Module/StatisticalReport/api.ashx", JSON.stringify(option), function (_data) {
                //加载详细表格
                if (!data.Success) {
                    top.MessageBox.Alert(_data.Meg);
                    return;
                }
                var data = _data.Data;
                if (true) {

                }

            });
            option.Data = { ID: key, Type: 2 };
            $("/Module/StatisticalReport/api.ashx", JSON.stringify(option), function (data) {
                //加载公司类型表格
            });
            */
        })
    </script>
</body>
</html>